home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Disc to the Future 2
/
Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin
/
MAC
/
THINKC
/
3_0
/
CUTILSLI
/
UTILITYL
/
TEETIME_.C
< prev
next >
Wrap
Text File
|
1987-11-05
|
1KB
|
47 lines
/**************************************************************************
* Filename: TeeTime About.c
* Purpose: Display the About Item in TeeTime with online Help.
* Authors: Robert E. Neville
* Date: November 5, 1987
* Functions: about().
* Version 1.0
* Copyright ⌐ 1987 Hummingbird Graphics & Software
***************************************************************************/
#include <DialogMgr.h>
#define ABOUTDLOG 300 /* Dialog RSRC for Help */
#define HELPSTR 600 /* STR# RSRC for Help */
#define ABOUTOK 1 /* About OK Button */
#define ABOUTHELP 2 /* Button for Help in About Box */
/*************************************************
* Function: about()
* Purpose: To display info about the TeeTime.
* Passed: Nothing.
* Returned: Nothing.
**************************************************/
void about()
{
DialogPtr dp;
int item;
dp = GetNewDialog(ABOUTDLOG, 0, -1);
ModalDialog(0, &item);
switch (item)
{
case ABOUTOK:
DisposDialog(dp);
break;
case ABOUTHELP:
DisposDialog(dp);
do_help(HELPSTR);
break;
default:
break;
}
} /* End of about */
/********** End of file **********/